package com.pentofab.payrollmanagement.database;

import java.util.ArrayList;

import com.pentofab.payrollmanagement.dao.model.UserAccounts;
import com.pentofab.payrollmanagement.exception.ExceptionMsg;

public interface UserAccountsRepository extends ExceptionMsg{

	
public void createUserAccount(UserAccounts accounts) throws Exception;
	
	public void deleteUserAccount(String username) throws Exception;
	
	public void modifyUserAccount(UserAccounts accounts, String oldUserName) throws Exception;
	
	public void getUserAccountsByParent(String parentUserName, ArrayList<UserAccounts> userAccList)throws Exception;
	
	public UserAccounts getUserAccountsByUserName(String userName)throws Exception;
}
